#include <gtk/gtk.h>
#include "netcom.h"

#define CUSTOMAD_COUNT 8
#define US_COUNT 6
#define ENCODER_COUNT 2

typedef struct callback_widgets {
	GtkWidget *address;
	GtkWidget *port;
	GtkWidget *action;
	GtkWidget *amount;
	GtkWidget *sensors_ad[CUSTOMAD_COUNT];
	GtkWidget *sensors_us[US_COUNT];
	GtkWidget *encoder_pulse[ENCODER_COUNT];
	conn_t *conn;
} cb_widgets_t;

GtkWidget *robot_window_new(cb_widgets_t *cb_widgets);
//void update_sensors(cb_widgets_t *cb_widgets);

